
<template>
<router-link class="tab-item" to="/Vue-Option-Api">配置式api</router-link>
<router-link class="tab-item" to="/Vue-Composition-Api">组合式api</router-link>
<router-link class="tab-item" to="/Parent2Child">父组件向子组件传参</router-link>
<router-link class="tab-item" to="/Child2Parent">子父组件向父组件传参</router-link>
  <router-view></router-view>
</template>

<script>

</script>

<style>
.tab-item{
  margin-left: 25px;
  display: inline-block;
  margin-bottom: 10px;
}
</style>